HAL RTC state functions migration

This section provides information about the HAL RTC state functions migration.

Note

The RTC handle is removed in HAL2, giving so there is no more HAL_RTC_GetState.

Related concept: Other HAL RTC changes

HAL RTC get state

HAL1

HAL2

HAL_RTCStateTypeDef HAL_RTC_GetState(const RTC_HandleTypeDef *hrtc)

Removed as there is no globale state machine in HAL2.